$(function(){
    $('.postFrom').bind('submit',function(){
	    var pdata = $(this).serialize();
	    var index = layer.load();
	    $.post('/submit.php',pdata).success(function(data){
	    	layer.close(index);
	        if (data.status==1) {
	            layer.msg(data.info,{icon:1,shade:0.3,shadeClose:true,time:1500},function(){
	            	location.reload();
	            });
	        }
	        else if (data.status==0) {
	            layer.msg(data.info,{icon:2,shade:0.3,shadeClose:true,time:3000});
	        }
	        else {
	            layer.msg('请求出错，可能网络遇到问题，请刷新重新提交！',{icon:2,shade:0.3,shadeClose:true,time:3000});
	        }
	    });
    	return false;
    });
});
function kefuzixun(){
	window.open('http://tb.53kf.com/code/client/9004029/1','_blank','height=600,width=800,top=50,left=200,status=yes,toolbar=no,menubar=no,resizable=yes,scrollbars=no,location=no,titlebar=no');
}